body {
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: 'Microsoft YaHei', sans-serif;
}

.note-container {
    background: rgba(255, 255, 204, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.title-bar {
    height: 30px;
    background: rgba(255, 255, 204, 0.98);
    display: flex;
    justify-content: space-between;
    align-items: center;
    -webkit-app-region: drag;
    padding: 0 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.title-area {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    text-align: center;
}

.title-input {
    background: transparent;
    border: none;
    font-size: 14px;
    color: #333;
    width: 100%;
    text-align: center;
    -webkit-app-region: no-drag;
    padding: 4px;
}

.title-input:focus {
    outline: none;
}

.title-input::placeholder {
    color: #999;
}

.close-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    -webkit-app-region: no-drag;
    padding: 0 5px;
    z-index: 1;
}

.close-btn:hover {
    color: #ff0000;
}

textarea {
    flex: 1;
    width: 100%;
    border: none;
    padding: 10px;
    background: transparent;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    box-sizing: border-box;
}

textarea:focus {
    outline: none;
} 